package com.blog.blog.dto;

import com.blog.blog.entity.BSubject;
import com.blog.blog.entity.BTag;

import java.util.Date;
import java.util.List;

/**
 * TODO
 *
 * @author sean
 * @date 2020/3/28 2:26 PM
 */
public class BlogDto {

    private Long id; // 编号
    private String bTitle;  //博客标题
    private String bContent;    //博客内容
    private long bReadCount;    //博客阅读量
    private long bUpvoteCount;  //博客点赞数
    private long bShareCount;   //博客分享数
    private String bUrl;    //博客地址

    private Date createTime;

    private Integer createBy;

    private Date updateTime;

    private Integer updateBy;

    private List<BTag> bTags;   //博客标签

    private BSubject bSubject;  //博客主题

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getbTitle() {
        return bTitle;
    }

    public void setbTitle(String bTitle) {
        this.bTitle = bTitle;
    }

    public String getbContent() {
        return bContent;
    }

    public void setbContent(String bContent) {
        this.bContent = bContent;
    }

    public long getbReadCount() {
        return bReadCount;
    }

    public void setbReadCount(long bReadCount) {
        this.bReadCount = bReadCount;
    }

    public long getbUpvoteCount() {
        return bUpvoteCount;
    }

    public void setbUpvoteCount(long bUpvoteCount) {
        this.bUpvoteCount = bUpvoteCount;
    }

    public long getbShareCount() {
        return bShareCount;
    }

    public void setbShareCount(long bShareCount) {
        this.bShareCount = bShareCount;
    }

    public String getbUrl() {
        return bUrl;
    }

    public void setbUrl(String bUrl) {
        this.bUrl = bUrl;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    public List<BTag> getbTags() {
        return bTags;
    }

    public void setbTags(List<BTag> bTags) {
        this.bTags = bTags;
    }

    public BSubject getbSubject() {
        return bSubject;
    }

    public void setbSubject(BSubject bSubject) {
        this.bSubject = bSubject;
    }
}
